<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">
  
  <head>
    
    <%@ include file="/WEB-INF/include/meta.jsp"%>
    <%@ include file="/WEB-INF/include/css.jsp"%>
    
  </head>
  <!-- end header -->
  <body>
    <div class="page-group">
      <div class="page">
        <header class="bar bar-nav shop-header">
          <a data-dismiss="push" class="icon icon-left pull-left"></a>
          <h1 class="title">绑定邮箱</h1>
        </header>

		  <div class="content">
		    <div class="list-block mobile-bind-list">
		      <ul>
		        <li class="item-content">
		          <div class="item-inner">
		            <div class="item-input">
		              <input class="text-left" type="email" name="email" placeholder="填写真实邮箱" >
		            </div>
		          </div>
		        </li>
		      </ul>
		    </div>
		    <div class="content-block">
		      <p><button id="submit" class="button button-fill button-success button-big button-block" style="margin: 0px; width: 100%;">绑定邮箱</button></p>
		      <p class="text-right" style="margin-top: .4rem;"><small><a href="${ctx.host}/questionnaires/register" data-toggle="push">绑定手机</a></small></p>
		    </div>
		  </div>
		</div>

    </div>
    
    <%@ include file="/WEB-INF/include/script.jsp"%>
    <d:resource type="script" root="${ctx.resource}/build" src="js/page/questionnaire/email-register.js" />
    <script type="text/javascript">
      require(['page/questionnaire/email-register'], function(page) {
        page.init({
            'currentUrl': '${currentUrl}'
        })
      })
    </script>
    
  </body>
</html>